<template>
    <div>
        <ul>
            <li>新闻1</li>
            <li>新闻2</li>
            <li>新闻3</li>
            <li>新闻4</li>
            <li>新闻5</li>
        </ul>
    </div>
</template>

<script>
    export default {
        name: "HomeNews",
        beforeRouteEnter(to, from, next) {
            document.title = to.matched[1].meta.title,
                next()
        }
    }
</script>

<style scoped>
    ul{
        padding: 0;
    }
    li{
        list-style: none;
    }
</style>
